from django.conf.urls.defaults import patterns
from position.views import ListPositionView
from position.views import CreatePositionView, UpdatePositionView, DeletePositionView

urlpatterns = patterns(
    "position.views"
    , (r"^$", ListPositionView.as_view())
    , (r"^create/$", CreatePositionView.as_view())
    , (r"^(?P<pk>\d+)/delete/", DeletePositionView.as_view())
    , (r"^(?P<pk>\d+)/", UpdatePositionView.as_view())

)